﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace WindowsGame1
{
    class Button
    {
        public string Caption;
        public event Action Clicked;
        public void Click()
        {
            if (Clicked != null)
                Clicked();
        }

    }
}
